home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
language
/
embedded
/
simulato
/
v2_3_mc6.tz
/
v2_3_mc6
/
testfiles
/
dbr.asm
< prev
next >
Wrap
Assembly Source File
|
1994-05-02
|
542b
|
24 lines
;
; dbr.asm.
; C. Ward 2/7/93.
; Yet another simple program. This time to test the dbra instruction
; and the input character routine. Does not generate any output.
; Reads in exactly six characters placing some checksum value into
; d0. Don't ask me what the checksum is!
;
ORG $1000
MOVE #6,D5
loop move d5,d0
AND.B #$03,D0
ORI.B #$30,D0
MOVE #$30,D1
ADD D1,D0
move #248,d7
trap #14
dbra d5,loop
move #228,d7
trap #14
end